package com.trainfinder.requestor;

public class ExtractDocType implements Extractor {

	/**
	 * @param args
	 */
	public String extract(String data) {
		final String STARTS_WITH = "<html";		
				String result ="";
		
		int start = data.indexOf(STARTS_WITH);

		if (start != -1) {
			result = data.substring(start, data.length());
		}
		
		return result;
	}
}
